package Box2D.Collision
{
	import Box2D.Common.Math.b2Vec2;
	import Box2D.Common.b2Wrapper;
	
	public class b2DistanceOutput extends b2Wrapper
	{
		private var _pointA:b2Vec2;
		private var _pointB:b2Vec2;		
		public function b2DistanceOutput()
		{
			super(callDirect('b2DistanceOutput_new'));
			_pointA = new b2Vec2(0,0,_wrapper);
			_pointB = new b2Vec2(0,0,_wrapper+8);			
		}
		public function get pointA():b2Vec2{return _pointA}
		public function get pointB():b2Vec2{return _pointB}
		public function get distance():Number{return getNumber(16)}
		public function get iterations():int{return getInt(20)}
	}
}